package com.dz.syndata.mapper.one;

import com.dz.syndata.bean.CarGpsInfo;
import com.dz.syndata.bean.UpdateCarInfo;
import com.dz.syndata.bean.User;
import com.dz.syndata.bean.device.DeviceBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
@Mapper
public interface PrimaryDeviceMapper {
    List<DeviceBean> selectRainfallData();

    Integer  updateById(DeviceBean mDeviceBean);
    Integer  insertRainfall(DeviceBean mDeviceBean);
    //出入出库流量和出力值
    Integer insertData(DeviceBean deviceBean);
    DeviceBean selectMonthItem(DeviceBean deviceBean);
    List<DeviceBean> selectMonthItemAll(DeviceBean deviceBean);
    DeviceBean selectHourPlan();
}
